package com.region.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
 
import com.core.entity.AbstractEntity;

/** 
 * 图片
 *
 */
@Entity 
@Table( 
		uniqueConstraints = {
			@UniqueConstraint(columnNames = {"QYID", "XH"})
		}	
	)
public class TB_REGION_TP  extends AbstractEntity{ 
	private static final long serialVersionUID = 1L;
	/**
	 * STATE:国家，PROVINCE省份；地方；职权
	 */
	@Column(length=32 ) 
	private String TYPE; 
	/**
	 * 区域ID, TB_BASE_STATE.ID/TB_BASE_PROVINCES.ID
	 */
	@Column(length=32 ) 
	private String QYID;
	/** 序号 **/
	private int XH;  
	/** 文件路径 **/
	@Column(length=100  )
	private String FILE_PATH;
	
	/** 文件ID **/
	@Column(length=32  )
	private String FILE_ID;  
	/** 文件名 **/
	@Column(length=100  )
	private String FILE_NAME;
	/**文件大小**/ 
	private Long FILE_SIZE;
	public String getTYPE() {
		return TYPE;
	}
	public void setTYPE(String tYPE) {
		TYPE = tYPE;
	}
	public String getQYID() {
		return QYID;
	}
	public void setQYID(String qYID) {
		QYID = qYID;
	}
	public int getXH() {
		return XH;
	}
	public void setXH(int xH) {
		XH = xH;
	}
	public String getFILE_PATH() {
		return FILE_PATH;
	}
	public void setFILE_PATH(String fILE_PATH) {
		FILE_PATH = fILE_PATH;
	}
	public String getFILE_ID() {
		return FILE_ID;
	}
	public void setFILE_ID(String fILE_ID) {
		FILE_ID = fILE_ID;
	}
	public String getFILE_NAME() {
		return FILE_NAME;
	}
	public void setFILE_NAME(String fILE_NAME) {
		FILE_NAME = fILE_NAME;
	}
	public Long getFILE_SIZE() {
		return FILE_SIZE;
	}
	public void setFILE_SIZE(Long fILE_SIZE) {
		FILE_SIZE = fILE_SIZE;
	} 
}
